 // 地址收藏 https://blog.csdn.net/qq_30100043/article/details/76709629
    function drawCurve() {
        let radius = 2;

        let startAngle = 0;
        let endAngle = (Math.PI / 3) * 2;
        let arcCurve = new THREE.ArcCurve(0, 0, radius, startAngle, endAngle);
        let points = arcCurve.getPoints(60);
        // 沿着 X 轴 旋转90度
        // let rotationX = new THREE.Matrix4().makeRotationX(-Math.PI / 1);
        let rotationZ = new THREE.Matrix4().makeRotationZ(-Math.PI / 3);

        let endPoints = points.map(function (point) {
            let vector3 = new THREE.Vector3(point.x, point.y, 0);
            vector3.applyMatrix4(rotationZ);
            return vector3;
        });

        let comePoints = [];
        // points.forEach(a => comePoints.push(a));
        endPoints.forEach(a => comePoints.push(a));

        let start = endPoints[0];
        console.log(start);
        let sodoY = start.y;
        console.log(sodoY);
        comePoints.unshift(new THREE.Vector3(1 / 2, sodoY, 0));
        comePoints.unshift(new THREE.Vector3(0, sodoY, 0));
        comePoints.push(new THREE.Vector3(1 / 2, -sodoY, 0));
        comePoints.push(new THREE.Vector3(0, -sodoY, 0));
        let hu = new THREE.BufferGeometry();
        hu.setFromPoints(comePoints);

        let lineBasicMaterial = new THREE.LineBasicMaterial({color: 0x00ff00});

        let pathMesh = new THREE.Line(hu, lineBasicMaterial);
        // scene.add(pathMesh);

        let changePoints = [];


        comePoints.forEach(a => changePoints.push(new THREE.Vector3(a.x + 2, a.y, a.z)));
        changePoints.unshift(new THREE.Vector3(1 / 2, sodoY, 0));
        changePoints.unshift(new THREE.Vector3(0, sodoY, 0));
        changePoints.push(new THREE.Vector3(1 / 2, -sodoY, 0));
        changePoints.push(new THREE.Vector3(0, -sodoY, 0));

        // 更新后的坐标
        let geometry2 = new THREE.LatheGeometry(changePoints, 60);
        let material2 = new THREE.MeshLambertMaterial({
            // color: 0xB18334,
            color: 0x00abab,
            side: THREE.DoubleSide,
            // wireframe: true
        });//材质对象
        // material2.wireframe = true;//线条模式渲染(查看细分数)
        let mesh = new THREE.Mesh(geometry2, material2);//旋转网格模型对象

        mesh.position.y = -sodoY;
        // mesh.position.x = 2;
        let mesh2 = mesh.clone();
        mesh2.position.x = 12;
        // scene.add(mesh2);

        let mesh3 = mesh.clone();
        mesh3.position.x = -8;
        // scene.add(mesh3);

        let light = new THREE.DirectionalLight(0xffffff, 1.0);
        light.position.set(10, 10, 10);

        // scene.add(light);


        scene.add(mesh);

        // genTextGeometry("Jiang", new THREE.Vector3(-3, (-sodoY)+1.8, 0),2);

    }

    drawCurve();